This is for optional hw and testing code