In both functions, this line ends with whitespace. Could you remove it?