finish the Barn's functions