make functions return values always.