smallville method tutorial