updates to afepy, completed L04