Updated for new pospec