adding app code