Took out obsolete resize function