Fixed errors. Should compile now