tests resolved but I wonder if it's neat to call multiple function inside on attr binding