function is shoudl be moved to fromat one? (add a TODO?)