better implementation for skill testing