initial version
working version with fixed dimensions