Prefer value typecasted instead of method