adding in some new functions for FFOS