changed level field to private