Added rstrip to prevent trailing whitespace