Started work on decode, non functional