And here comes fancy funtion2