fixed revenue and got tests passing again