removed duplicate code
yep