initial coding