changes to make third activity possible