trying to make it for ios6