Code for initial apps101