changed internal res to 1024