now it works with whitespaces