removed now redundant code