trying this not creating main context just declaring and using