remove legacy problems directory
add random number instead of hardcoding; remove console.log of arguments