removing sql string from nethod calls