working on the main activity, and hold the problem