change front ArrayList type to Integer