rewrote rpp file starting to make sense
added new behaviors to sample