process function working
added validation / finished basic methods