pass all tests
maybe determine2() can be replaced with determine()
add AT, VALUE constant