still going through michell's code