You could reuse your existing methods here, instead of repeating the code.