added support for selecting initial values