Changes constructor so it returns if elements does not exist