added create Activity functionality