Bug in source.snippet
Easier sourcing method
Common functions