removing application based logic from init