tweaks to functionality