Split up functions.