print function basically works. one small bug. ill do the error message later