removed some unnecessary details