fix warning
first working version

read-only for now