some new attribute functions and a new date category