wired up new functions