initial basic implementation
of something rather stupid