compiling the beamer