corrected wrong type signature