fixed ps3, added constants to beginning and tested functions
fixed ps3, added constants to beginning and tested functions