Fix wrong funtion name, add documentation