Omitting some unnecessary code