Pakistan beats Sri Lanka