Mark has some money in his wallet. He was paid $8 for for working for an hour and then had a total of $15. How much money did he have in his wallet before working?

show your work