add imports and class valisbles and edit onCreate()