removed unnecessary test func