Made key prefix dynamic