simple implementation of stl