corrected type to make it work