easier snippet for local use