added first (very buggy) version of viewer