finished logical implementation
finished logical implementation