main activity and pic