added functionality testing