More efficient and cleaner pos derivatives