added documentation on defining features