New code to pass tests
Wrote tests for liability