one bug because of typing