added some fuctions to print out stuff. the only part left is the name