side pot feature added and partially tested