Removed a bit of unused cod