final w a few errors