variable safeamount created