Added buy pet functionality