func returns value which is always ignored