reverted to int for type to follow libanki guidlines