implemented public activity