implemented acceptance test