added FDD function prototype
added code for rest of RTA, not working yet though--probably units