added interface for activity with parameters