added .to_s to avail space method
edited break