added code to main presentation instead of separate files