Added int x.
Added ArrayList