added addtional funcitons