Added auto() functionality