bug fix
renamed method for clarity
fixed typo