What were the responsibilities of ancient Egyptian pharaohs?

they were basically kings of egypt... they made laws and ordered things to be built, i guess just the normal stuff a king would do :) the pharaohs were also known to be 'gods' so if you didnt do what the pharaoh told you to, you would have been in trouble with the other gods they believed in