Fixed type and cleaned up whitespace