Oh yeah, there is definitely code duplication.