added mapping to boxes as well as finding of numbers