adding preset functionality