added functionality for presets #17