All functions for SSD written and compiles fine