fixing error if you dont supply an argument