working frontend
int conversion fix