initial coding

still quick and dirty