changed interface and added second activity