started adding html generation