This is work testing code and optional hw