making things functions.