An attempt at coding.