Fixed bug in `functions`

Love this version btw.