started on getwall function