Coorected function name mismatch, removed const-ness