Getting statuses and changing state