added whitespace
fixed return type documentation
improved formatting