removed uneeded intval