Sacrifice simplicity for optimization :(