cleaned up unused method, added app config