implementation of test task