wrote coord lookup in assembly need to test