create and connect activites