optimizations to methods