pttp working out.. though the dabase is not currently connected yet