first two steps working