partway through pos implementation