re implemented activity