added apps method and edit bugs