Avoid loops and call of expensive methods