adding compound filtering and return checking
uprevving to 0.3.0