parameter to int, needs final ver