#18 TODO function to be created