added device option message, cleaned up code. SHOULD BE GOOD FOR TESTING!