split solution with bind params and solution without