added attribute functions