changed positions to not static