First version with dependencies