setup basic environment