All errors worked out and compiles correctly. Haven't actually tested yet.