Added basic wall function