work code

id's work and randomnum now works, other shit too