in process of writing lil matrix