better binding and adding a date formater