Added rect method