create and active actiivty