ignored whitespaces. implemented characters to lower