Some Implementation of Design Patterns