got all tests passing for app