Added 'return' to functions cbs