Changes for adding levels to database