two activities are working