Reduced bounds code by creating helper methods