phase 2 with params working