added base code for pots