myapps code