some optimizations
making application user