Removed twice element lookups