first test implementation of top