Adding spam function