Finished ceonverting buttons to CS