optimized wall logic to prepare implementation in presentations