Rudimentary SEM implementation