deleted astype because it is not an attribute of int