implementing gasp with custom functions

read title