implemented more layers