Updated as per Juan Vazquez's comments.