made changes to allowing passing data within activities and fragments