this is the first part of activity