design pattern sandbox