replacing timeIn & timeOut with text->getTimeIn() & text->getTimeOut()
using the right text as a reference
working