Changed methods to be able to use as chain