Duplicated code. :-1: