added string as an argument type