Code duplication smell ;)