added position field in levels table. some  more changes