removed size check