Implemented step 2