done some work on 5 and 7