added unit test attempt