copied files from activity quickstart