first app instance working