fixed SSM reference and sorted out pre's